//
//  BanBu_SnapController.h
// Halfarea
//
//  Created by Wang Xj on 14-1-14.
//
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface BanBu_SnapController : UIViewController<UIGestureRecognizerDelegate,UIPickerViewDataSource,UIPickerViewDelegate>

@property (nonatomic, strong) IBOutlet UIView   *cameraView;
@property (nonatomic, strong) IBOutlet UIButton *takePhotoButton;
@property (nonatomic, strong) IBOutlet UIButton *flashButton;
@property (nonatomic, strong) IBOutlet UIButton *positionButton;
@property (nonatomic, strong) IBOutlet UIButton *saveButton;
@property (nonatomic, strong) IBOutlet UIButton *cancelButton;
@property (retain, nonatomic) IBOutlet UIView * buttonView;
@property (retain, nonatomic) IBOutlet UIView * saveButtonview;

@property (retain, nonatomic) IBOutlet UIButton *exchangeButton;
@property (retain, nonatomic) IBOutlet UIPickerView *timePicker;//设置时间的Picker
@property (retain, nonatomic) IBOutlet UIButton *setTimeButton;
@property (retain, nonatomic) IBOutlet UILabel *timeLabel;
@property (retain, nonatomic) NSArray * timeArray;  //时间数组
- (IBAction)showTimePicker:(UIButton *)sender;

- (IBAction)exchangeVideoAndPhoto:(UIButton *)sender;

- (IBAction)cancelTakePhoto:(UIButton *)sender;

- (IBAction)takePhoto:(id)sender;

- (IBAction)changeFlash:(id)sender;

- (IBAction)positionCnange:(id)sender;

- (IBAction)saveAction:(id)sender;

- (IBAction)cancelAction:(id)sender;

@end
